package org.idea.ietty.container;


/**
 * 基于注解的 BeanDefinition
 *
 * @Author idea
 * @Date created in 9:58 下午 2020/5/8
 */
public class AnnotationBeanDefinition extends BeanDefinition{

    private String scanLocation;

    public AnnotationBeanDefinition(String id, String className) {
        super(id, className,DefinitionType.ANNOTATION);
    }

    public AnnotationBeanDefinition(String scanLocation) {
        super("annotationBeanDefinition","org.idea.ietty.container.AnnotationBeanDefinition",DefinitionType.ANNOTATION);
       this.setScanLocation(scanLocation);
    }

    public String getScanLocation() {
        return scanLocation;
    }

    public void setScanLocation(String scanLocation) {
        this.scanLocation = scanLocation;
    }
}
